<div id="adm-welcome-msg" class="adm-col-2">
	<p>
		Selamat Datang <br/>
		<strong><?php echo get_cookie('c_adm_fullname') ?></strong>
	</p>
	<a class="btn-other" href="<?php echo site_url('mimin_jonu/editprofile') ?>">Edit Profile</a>
</div>
<div class="adm-col-2" style="border-left: 1px dotted #ddd; padding:0px">	
	<div class="adm-col-2">		
		<ul id="recent-log-container">
			<h3>Recent Login</h3>
			<?php foreach($log as $log_rec): ?>
				<li><?php echo $log_rec['jonu_user_username'] ?> <br/><small>(<?php echo $log_rec['jonu_log_date'] ?>)</small></li>
			<?php endforeach; ?>
			<li style="text-align:center">
				<a href="<?php echo site_url('mimin_jonu/login_data') ?>" style="font-family: 'oswald';color:#D82229"> View all</a>
			</li>
		</ul>
	</div>

	<div class="adm-col-2">
		<!-- users -->
		<div class="col-outer">			
			<div class="summ-parent"> Users <span class="badge"><?php echo $tot_users ?></span></div>
			<div class="summ-child">
				Verified <span class="badge"><?php echo $tot_verified_users ?></span>
				<a href="<?php echo site_url('mimin_jonu/user') ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
			<div class="summ-child">
				Unverified <span class="badge"><?php echo $tot_unverified_users ?></span>
				<a href="#">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
			<div class="summ-child">
				Blocked <span class="badge"><?php echo $tot_blocked_users ?></span>
				<a href="#">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
		</div>

		<!-- post -->
		<div class="col-outer">
			<div class="summ-parent"> Posts <span class="badge"><?php echo $tot_post ?></span></div>
			<div class="summ-child">
				Published <span class="badge"><?php echo $tot_published_post ?></span>
				<a href="<?php echo site_url('mimin_jonu/post') ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
			<div class="summ-child">
				Pending <span class="badge"><?php echo $tot_pending_post ?></span>
				<a href="<?php echo site_url('mimin_jonu/moderated_post'); ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
			<div class="summ-child">
				Blocked <span class="badge"><?php echo $tot_blocked_post ?></span>
				<a href="<?php echo site_url('mimin_jonu/blocked_post'); ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
		</div>

		<!-- pages -->
		<div class="col-outer">
			<div class="summ-parent"> Pages <span class="badge"><?php echo $tot_pages ?></span></div>
			<div class="summ-child">
				Published <span class="badge"><?php echo $tot_published_pages ?></span>
				<a href="<?php echo site_url('mimin_jonu/pages_published'); ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
			<div class="summ-child">
				Drafted <span class="badge"><?php echo $tot_drafted_pages ?></span>
				<a href="<?php echo site_url('mimin_jonu/pages_drafted'); ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>
		</div>
		<!-- categories -->
		<div class="col-outer">
			<div class="summ-parent"> Categories </div>
			<div class="summ-child" style="border-bottom:1px solid #ddd;">
				All Categories <span class="badge"><?php echo $tot_category ?></span>
				<a href="<?php echo site_url('mimin_jonu/category') ?>">
					<span class="pull-right"><small><i class="fa fa-chevron-right"></i></small></span>
				</a>
			</div>	
		</div>
	</div>
</div>

